package com.walsai.pcsys.core.service.impl;

import java.util.List;

import com.walsai.pcsys.core.dao.SolutionDao;
import com.walsai.pcsys.core.model.Solution;
import com.walsai.pcsys.core.model.User;
import com.walsai.pcsys.core.model.SolutionPK;
import com.walsai.pcsys.core.service.SolutionManager;

public class SolutionManagerImpl extends GenericManagerImpl<Solution, SolutionPK> implements
		SolutionManager {

	private SolutionDao solutionDao;
	
	public SolutionManagerImpl(SolutionDao solutionDao) {
		super(solutionDao);
		this.solutionDao = solutionDao;
	}

	public List<Solution> getSolutions(User u){
		return this.solutionDao.getSolutions(u);
	}
}
